[build] directory structure refactored, cmake build added