Added registering methods with types
Working on a way to generically call any constructor of a type