map package checkstyle compliance round 1

Even though there a lot of suppressions this pull request can be a starting point to make map package checkstyle compliant. Most of the basic things are done.