Update readme and fix namespace errors