Add basic block chain class, utility and generic function; add coin and transaction generic functions