initial codebase archeticture