make class View accessible by layouts and views