Added support for rendering multiple objects.

I will likely have to refactor the code, moving as much abstraction as possible to the model class.