Moving physics constants to the component class