Coded stuff

Added blockspawning mechanism, needs polishing. ALOT