Fix #3 Various refactor, moved the preference menu to Packages Settings, and aded a Sync on click feature