added basic mysql code and style.