class file

refactored to use require_once