fixed some styles and refactored some scripts
refactoring and updating git ignore
refactored reg/views