Move Interfaces belongs to a class into the class