Finished sim, moved appdoc to its own folder

Added TOSMake_include_target()
Added more configure checks