A whole lot of functionality.

Added CRUD operations and other misc. stuff.