added fitshandler class