Change system directory principles

Unifying compilation target, extentions and other