Added states.json and cleaned up controller code
Removed tilda files