Nearly working tiered app. 

Needs a little more work on the backend tier.