Merge pull request #9 from zodman/master

select_network method and other small things
missing config.chain