init commit

Revised router and animation manager