readme added, refine app server code, clean up repository