added an events lib, now reloads errors when they happen. other things should be attached to events
Added form success