Removed log4j and java.nio to make it work on Android
Performance improvements and exposed data directory.