fixing issue#402
merge my partial work on fixing io
minor refactoring: hide empty constructors of KList and KSequence
reverted unnecessary changes
Merge pull request #501 from yilongli/unified-builtins2

fixing #402 in branch Unified builtins2