Messages are now correctly parsed, actions are built and message records saved