Started adding some system functions and a commands interface.

Signed-off-by: Wynand Marais