added constants
added if command type need to add goto type
added code to write pushpop havent finished write commands code