Created draw methods in js, created update loop functionality, created input handler