main now does simple read & print loop

- uses readline library for os x
- uses editline library for other posix systems
- uses dummy functions for windows