More work on model template
Added init file for templates subpackage
Removed __init__ file
Added __init__ file for tests
Added in ValueError check for Code class tests