deleting unused methods
moving registry and loader classes to util package