Add bash script for running the application, see wiki for details.