Kinda finished first version of eidtor