Write readme, code refactoring and create Message struct