Refactor Packages and add ignore for bin folder.