Updated to support db queries.
Updated names, started work on email support.
Initial.