Online part complete

Added testing part. Also added actual image generator.