This should have been merged from the dev branch
Merged the layout classes to a ContentLayout class
Preparation for optimization
Removed unneeded code
The position property should trigger a reflow
Translating the context at the beginning seems to make everything more clear
Updated the content layout code
Finished layout calculator