Added example, added xml support, changed routing structure