Added custom View file. Moved functionality out of helper and into library file