removed apc dependency, removed regex middleware, added bind()