Refactored directory structure. Added initial Mocha test support