Initial work
Implement more stuff including format-message