Implement part of document analysis features.
Implement part of features for process documents in Penthouse room.
Fix small bugs in other part of code.