Fixes.
Changes ID from ObjectId to String
Tity up repositories.