Fixed dependencies and updated to new version of react-router