implemented automapper, cool stuff.