Added convinience functions.
Added doc and length methods.
Moved query functions into components.
Implemented delete queries.
Made delete keyword implicit.
Split up entities from active records.
Implemented active record functions.