Almost finished just have to create export Bitmap and cleanup up code