corrected code template
added basic logger and test controller