Made route names more explicit and nested plugin under wordpress.

Added support for wordpress version compatibility.