Decouple fileDialog to a separate library
Split app to modules