Changed naming conventions. Added test suite

Changed naming conventions (services and components). Added Mocha test
framework. Added comments.