This is an open-source project. You can view the project's code at this link. Hopefully, it can be helpful to you.