Insertion

Got inserts working.

SELECT's still need some work, there's some cases where conversions need to be done before quering the database. I think the _value_for_db and _value_from_db are the best place to do these conversions.