Added code to validate uniqueness of root name. Refactored root node name into a constant string in application.rb.
Made error messages more user-friendly (topics rather than nodes).
Added extremely basic validation for resources.