Do address it to your manager. You don't need to address your resignation letter to the owner or CEO – addressing it to your line manager is fine as this is the person who will receive the letter and initiate your leaving process. Keep it formal by addressing it to “Dear”, even if you're on close terms.