refactor data parsing to support list of values.
work-around hack for erlang not being able to read stdin properly on windows.
fix type lookups.