Break detection algorithm (very simple)
Further updates and functionality to package