Commitando classes factorys e Exceptions.

Signed-off-by: Caio Fabio Araujo <caiofaar@gmail.com>