Attempting to diagnose weird module errors
Fixed circular dependancy issues using callback pattern