Bugs + Features (core)

Fixed ValueError and added GarbageCollection and added EventScheduler
(still needs implementation)