Added support for Stateful components.

Implemented !uptime by combining commandT and stateful.