create prototype makefiles + dir refactoring