Added editing

Still not fully functional, but it's got mostly everything going other
than a few minor things