rewrote main() and README, added CodeBlocks project