Everything working in jar

Had to make an unfortunate change to recourcemanager, we can fix later