Moved templates outside class
Comment update
Added toString method
Final config update. Everything works (I hope)