Added support for Video by changing the query to include a union all.
Moved the sql out to the Config.groovy so that it can be "tweaked" easily.
Added GetRecordById support for both HTTP Get and Post