Revert "Reformulacao e modularizacao completa do codigo"

This reverts commit ce6d3fe3f7bc404d4df2129c5c8552e47bcb5ea1.