Added manifest file for building jar from intellij
Fixed bug in redirecting stdout