Main codebase