Fixed frame id encoding
Fixed sequence id encoding
Moved to Mongo; removed tabs; added new methods