Cleanup classpath, add hack log manager.