moved requires into main header file to fix problems in client code