#159 Pop tasks
#159 Fix pop
#159 Move serialize/deserialize into utils
#159 Fix task result