added e2e testing using webdriverjs + mocha
renamed code to src and moved few files