Fixed all bugs regarding drawings and encoding and shit. Advanced with diagram building