Revamped api functions. Added page file and moved shared style to .css file in this directory.
Shop behaves the same way but behind the scenes files are much smaller - simply calling functions from page.php to display content
Product page now calls page.php to display content. Image upload input added to form - not yet functional.