- Moved weight function class to the right package