Fix DB init and song scanning