Fixed some minor stuff, began implementation of Resolution class.