Javadocs for backend
Also fixed sh scripts for launching.