restructured specs
added locale support for api
added config.ru to run api as rack application with web server