#248 Organized rest package into thematic subpackages.