first version to get the site working - need alot of fixes