Split up into smaller applications.
"If you can envisage the code you’re about to write being a component in something else, make it into a separate application." -Dave Thomas in "Elixir for Programmers".