Added full working RequireJS structure,separated views,collections,templates,routes, fixed JS syntax errors