new version of appdf

@jesper-sjovall 
@morozstepan 

could you please take a look at the specs?