file structure changes and bugfixes for shopversion 4.7.