C application that acts as a replacement for a linux shell