Fixed undefined variable error and undefined class error.
MySQL store now also can have a port defined.
Started work on MongoDBStore.