starting on module pattern and introduce ui testing with mocha