trying to merge the template with so far written code
alot of work done on the interface, basic shape seems doable but maybe not optimal