base back end all working. GUI next.