Update Object/Weapons/Module behavior

Makes the code clearer and object manipulation easier
Some sql missing though