Refactored to allow more apps, added timer

Currently not working but eh, general design is there
Also added .gitignore