added framework for filesharing, added db checkconflict method