Separated adm shared functionality into its own files, ordered events and setup database models