Fixes yaml and renderTemplate test
Adds Stock class.
Fixes references to 'owner'