Add api support

gem app