Add mc_home var
install headless jre
Use mc_home in scripts
Add lib.sh for common functions.

Added mc_command to talk to mc_server via screen
Use bash instead of sh
Stop now uses mc_command