cleanup Lookup class; added class_template file