Created jar file and speed optimizations