move repository class to Repository directory
- add memcache support
- add home page