refactor a little bit

changed the way config values are set and used in server.js
add name property to api config
change routes handling

moved routes initialization to file in new 'routes' directory
routes method initializes routes on server instance
organizationally this makes more sense in case many more routes are
added
update config

added new logger configurations
now you can write logs to files
settings switch based on environment
added option to set log_level from argv