Added mapconsole constructor & destructor