Make view self-declaring (name and icon) by overriding created function. Also implement view registering system.