added town class and header files