Organise the monolithic core into components.