added config setup for port and logs, moved logger.js
Merge pull request #1 from pasties/feature/configify

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