Split application into multiple files