Fix issue with contract accounting by introducing routes directory