Core almost works. Started working on GUI