Modular Function + Main Class

the main class + the function implementation of request and response.
Merge branch 'master' of https://github.com/Fall13IP/IP_Project1