Removed static database context, implemented mapping functions for all field types except
Added foreign key mapping function, though it ought to be changed to not load the object right away, but instead use a ForeignKey<T> property that has a GetEntity() method for actually getting the entity out of the database on demand