accounting for inputs and outputs when setting width
a backbone base component and updated simple readme