Large overhaul to decouple client-side data from the server for use with phonegap
Added udaemon stuff back in since everything else seems to be working