Separated core and front apps, removed tncapp

This commit fully removes the old `tncapp` app. Instead, everything is
split up into multiple Django apps in the `apps` directory.