initial commit for retail

core functionally of retail template