added inherits param - ability to scafold a class which inherits from given class