Move some types, adjust some namespaces.
Rename AppFunc property
Remove unused reference to System.Runtime.Serialization and redundant using directives.