declares all attributes inside __init__

Change-Id: I583ef6abd0fb0e9b8c56ad0219ba730f6025daf0