removed needless registerModel helper and have now less dependencies