refactoring

quick refactoring of View
add license
add css