ready for milestone 1. database works as long as file permissions are set. images are loeaded from img folder.