Add consensus & profile solution and add lib.fs

- Consensus and Profile problem solved
- Add lib.fs for gc.fsx and cons.fsx code sharing