Created class for make Custom View and some little changes