Refactored contrib layer into spacemacs layer