Full rewrite completed

Everything functional EXCEPT beep alerts.