made it work with the database
fixed connections between classes and added shop and location class which hace one-to-one connection