Added Sprit_db class