Basic Target module to manage render targets

Minor nitpick: Could we move the frame parameter to the end since it's an Option? Frame is also the last parameter on clear. This is purely an aesthetic comment. :)