move defintions do header file -> pin defintions can resied in including header file in different project
separated definition and implementation for salda interface
minor changes concerning devugging and comments