Refractored client architecture
added new file
Added bower_support and refractoring code
Refractoring templates