moved codecha to separate app, some code cleanup