initial commit of existing code based on 0.4.3