Update for new way to pass input.
Downgrade scala to 2.9.2, no longer need Try.
Added ability to pass input through standard in; moved opening of source logic to the main class.