Added namespace to DTO objects
Changed dynamic api controller a bit.