Made file compatible to x86_64 

Added few more constants and entryPoint