Set up a proper package structure for the code.