implemented a class descriptor

this will help for finding methods and calling them