Hotfix!

Small error in map constructor definition made the project fail to
compile.
Common typedefs.

In order to decrease compile time and simplifie common typedefs and
forward declarations is saved in common headerfile.