lib added
Initial Revision
consumtion calculation added