Tested 8.0 branch multiple patches added.

Old version does not working. Updated all source code and added
post_deploy hook to init database.
Need more testing.