Implemented Basic Logic and Drawing