Initialize SQL tables
Updated epic python code