Transferring methods to its appropriate class