All functions somewhat working. Need to sort out .csv storage and a gui next