simple dirty logic was added, but need some refactoring and styles
fixed defects in working
added simple styles
add controller