Added a new class to represent keyword parameter information.
Adjusted code to KeywordParameter class and tightened type checking