Filter and selection changes are now handled as query changes. Added documentation
Finished cleaning up and writing documentation. Removed unused primary key member