Merge pull request #31 from rocketu/test

tests created
Simple json routes and ajax calls
Passed logic tests
Merge pull request #32 from rocketu/logic

Simple json routes and ajax calls
test changes