Update FreeDB handling logic
Update FreeDB handling logic 2
Rename enum, add more code comments on free database type