added client, client/views, server folders. moved code to corresponding folder(s)