Added REST api to retrieve Units...and some other stuff but too tired rn