Added a bunch of utility functions. Fixed the bounding box, which had
its position set incorrectly. Added views though they do not follow
anything yet.