more work

back to hardcoding images
custom lib.php
cleanup
move to better code