Added initial shell implementation.  

Probably needs better error handling.  Also, implementation isn't very elegant.
@bsoetaer 
This thread will be terminated as soon as the process that creates this thread ends. In this case fork may be more appropriate.