REST api done
frontend routing added