added need libraries and deleted arduino and OLPC dependent code