first initial checkin of prototype
add licence
tidy up, loader is not needed