add survey functionality, create service packages, and several bugs
fixed