Implemented Parameter Attributes

Rewritten KeyBuilder and Tests
Regulated code
Added test