Updated methods of database

Added a new table searchset which includes graphs that are searcheable.
Also implemented remove functions from these tables and also lucene.