Deleted unused templates and added a test file for testing things that are not working.
Got casts working.