Phase 2.5 models and handlers created

Files created:
- Permission model
- Share model
- Updated handlers

Ready to commit
