Integrated processing of peanut for the separation of major constituents