Added connect-livereload to dependencies
Separated client side code.