typo fix
trivial fix: return code
Removed daemon code and split database related code into two files
	modified:   Makefile
	modified:   common.c
	modified:   common.h
	deleted:    daemon.c
	renamed:    database/sqlite.c -> database/database.c
	new file:   database/database.h
	deleted:    database/sqlite.h
	deleted:    inotify/Makefile
	deleted:    inotify/inotify.c
	deleted:    inotify/inotify.h
added sqlite.[c,h] files