added memory and CPU class and updated GUI