checking in current changes before adding argument parsing
Added argument parsing
improved instance list logic