Got everything working including append will work on making it pretty tomorrow