Started conversion of 'core' library module. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>