Baseprogram adapted to local eclipse need (preliminary); compile works