Added some of the main functionality

- Elements can actually be dropped on the page now and they are positioned correctly
- I think there are some slight issues with the absolute position values, but not too worried about it at the moment