Refactored using ZendDiagnostics

Some notes/comments:

- Both the CLI and the Controller is working
- I removed the groups feature - comments on how I could implement?

TODO:

- [ ] Update readme