created main plugin file and define abspath for security