Revert array initialization

Change [] to array () initialization to be backwards compatible.
Additionally add .htaccess file for apache compatibility.