cleaned up componentloader, got it ready for github