Add dependency on legacy so project can be installed purly with composer