Fixed sql query so the proper column is created. Finished v1.0 module.