Completed BigNumber.d.ts;
Implemented some initial methods on Main.