relocate eggs directory and allow data directory to be configurable