exposing api app
moving core init into main servers index file