added a . button and modified the pi code and re-designed UI