Simple python app with implementation in object and procedural programming