Split up main import into separate files

@incuna/frontend