removed sharedvariables and moved declarations into each league file for simplicity