connected create and maze routes, added functionality for multiple maze generation algorithms within a single factory