Update Router and Projects classes, improve getAction() method