Separate mainview and filemanager
Add .gitignore
Fix refresh timing