Adding more javascript files
Improved layout
More code ported in /tests. Controller should be finished.