add database initializer
add astrometry.net stuff
add test page