add getmiddlepos function
add isbuilding function
parse building function
delete useless code
add 0.2 MANW version :)