added jmemcached amongst other things

1. Added jmemcached
2. General refactoring
simplified things a bit - removed cake pattern DI
fixed formatting