Represents the application state. Includes the target directory, cache state, and the logger.
Main function for the static server.