Moved engine code to samples.
Merge samples Application.* files into Sample.*.