Refactored directory layout to separate framework and user codebase.