Adding delete and edit functionality

Changes:
- Added basic delete functionality
- Added basic edit post functionality
- Cleaned up and reorganized code
- Added a document describing the redis schema