Added flashing functionality

Also a few getters for fun