WIP swagger integration
correct nesting of api docs
extract models and apis
use external models and api definition for swagger
cleanup server script
try fix tests