renamed client.c to main.c
Added time printing function
	modified:   common.c
	modified:   common.h
Casual memleak fixes
	modified:   database/database.c
	modified:   database/sqlite.c