many backend changes

got some files from other projects, to better product and category
management