moved generation of files needed for API to makeresources