improved a more friendly type-hint and totally restructured modularirty to keep hw2-core quite totally in a "scoped and multi-instance environment"

also fixed many minor bugs