Version 5.0.0 upload

All the new code for the version 5.0.0 release