added category selection and db moved in project