model shell implemented and is running. needs debugging.