frontEnd done

Comment and indenting to be done