add front end code
Merge pull request #2 from snowson/frontend

add front end code