Added basic figure class and controller with implementation
Continuing previous commit