Updated GUI, implemented a scheduler