Added mysql structure, reformed mysql to propper fit with database