Move everything into a core app.
Importing necessary files, trying to make things run again.