added gen server template file with minimal functionality