completed console command, fixed some classes