refactor + unit tests

- added unit test project
- refactored indexmanager
- added in UnixTime date parsing