Changed testing strategy of component loading to use a mocked file system.
Simplified component creation.
Added categories to logging.
Fixed incorrect data dir path in osx.