cleaned up code, created mysql server on crash.rave.org and connected with it.