removed exta line-space
updated path definitions
updated database config, and added APP_PATH
removed php closing tag
refactored link_to