Add in support for setting the resolution
Allow setting the resolution
Check the that resolution passed in still makes sense