remove unused class
add spell tables
change foreign key name format
update instruction parser and format