refactoring front end code
frontend interacts with backend now
updated documentation to reflect refactored front end
Merge pull request #5 from sanepal/master

Refactored front end