fixed db files and added public uploads folder