Backend now uses sql

Need to add deck management