added config setup for port and logs, moved logger.js

added convict to help configure port and log path