Refactor dev. Drop useless template code. Drop useless db contexts. Rearrange methods into a more logical order.