Consensus and Profile problem solved

Reuse GC code in lib.fs
use lib.fs and remove unnecessary code
Merge pull request #11 from kimsk/master

Add consensus & profile solution and add lib.fs