Got mysql functions completed and creates table on first run.