Fixed mysql config path and removed unnecessary lines in __init__
Page load insert and query