A version of the optimal framework Slim, with the controller part.