Adding API methods to application