added first API controller, missing gems, setup of ENV variables
added cli endpoint