[Core] Fix spelling and add sql for adding book