Modified compile.sh, added menu class with two basic methods