routes actives

units tests are not finished yet.
Need documentation too