Copyied Rectangle class into Project.