Moved license to root. Fixed new database issue with empty indexing