changed path, added Maths functions, added color class