Implementing Layout params

Preparing interfaces
Test code
Changes in SizePolicy for more easy use while programming