Implemented basic insert and findOne method