added proper resource resolution on jar file, -main function and heroku startup script