modules decided; not a working program yet.
code is working; final review of codes remaining.
refactoring done.
preparing merging with branch 'stable'