refactored to enable submit on [enter]
all test passing
added before submit
updated with before submit
updated readme
merged master