Init actions and db