Ignore swp files
Move handlers to own file