bash script for creating class template