Moved messages code to package
Updated readme