fixed sql issues in __init__, table should get created properly now