created package,json for npm
added deps
refactored foolders to separate client and server