Add shell constants files.
Better error handling.
Correct bug initializing shells.
Add shell handling.