commit core.c

Signed-off-by: parmstro64 <pete_a64@msn.com>
Merge https://github.com/parmstro64/demonoid

* https://github.com/parmstro64/demonoid:
  Initial commit