Rest reworked, includes just the bare minimum functionality