implementation of default attribute and refactoring

* refactoring
* add Kwalify alias to __init__ for core
* implementation of default validate will return updated source