Revamped code. Skeleton added for unocoin