Adding methods to API and scheme
Usage of API on main app